package com.ljkj.access;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the tgrouprightrelation database table.
 * 
 */
@Entity
@Table(name="tgrouprightrelation")
@NamedQuery(name="Tgrouprightrelation.findAll", query="SELECT t FROM Tgrouprightrelation t")
public class Tgrouprightrelation implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="tgr_id")
	private int tgrId;

	@Column(name="right_type")
	private int rightType;

	@Column(name="tg_id")
	private int tgId;

	@Column(name="tr_id")
	private int trId;

	public Tgrouprightrelation() {
	}

	public int getTgrId() {
		return this.tgrId;
	}

	public void setTgrId(int tgrId) {
		this.tgrId = tgrId;
	}

	public int getRightType() {
		return this.rightType;
	}

	public void setRightType(int rightType) {
		this.rightType = rightType;
	}

	public int getTgId() {
		return this.tgId;
	}

	public void setTgId(int tgId) {
		this.tgId = tgId;
	}

	public int getTrId() {
		return this.trId;
	}

	public void setTrId(int trId) {
		this.trId = trId;
	}

}